package
{
	import de.nulldesign.nd2d.display.Scene2D;
	import de.nulldesign.nd2d.display.World2D;
	
	import flash.geom.Point;

	public class ND2DWorld extends World2D implements IWorld
	{
		private var m_scene:IScene;
		public function ND2DWorld()
		{
			super('auto');
			m_scene = Globals.rendererFactory.getScene();
			setActiveScene(m_scene as ND2DScene);
			start();
		}
		
		public function setCameraPosition(x:Number, y:Number):void{
			camera.x = x;
			camera.y = y;
		}
		
		public function getScene():IScene{
			return m_scene;
		}
		
	}
}